import random
l=[]
for i in range(10):
    tem=random.randint(1,10)
    l.append(tem)
tu=tuple(l)
print(tu) #(5, 6, 2, 2, 1, 6, 5, 5, 7, 3)


a,b,c=(1,2,3)
print(a,b,c)

# 装包
a,*b,c=(1,2,3,4,5)
print(a,b,c) #1 [2, 3, 4] 5

# 装包
a,b,*c=(1,2,3,4,5)
print(a,b,c)#1 2 [3, 4, 5]

# 拆包
print(*c)

input()